-
Notifications
You must be signed in to change notification settings - Fork 566
Add kubectl-daemon plugin #3679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
🤖 Beep beep! I’m a robot speaking on behalf of @ahmetb. 🤖 Thanks for submitting your kubectl plugin to Krew! In the meanwhile, here are a few tips to make your plugin manifest better:
Thanks for your patience! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jaymzh The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
|
Welcome @jaymzh! |
bd83ebb to
f75ee3d
Compare
Signed-off-by: Phil Dibowitz <phil@ipom.com>
f75ee3d to
c1eae4b
Compare
|
Hey @chriskim06 - do you know roughly when you might get to this? Not trying to rush you, just try get a sense of the queue length. :) Thanks! |
|
Sorry for the review latency. It takes a little while when we're busy with day jobs. :) I will take a look. |
|
sorry as well, i dont get a notification unless im assigned so didnt see this till you @'d me. ill also try to take a look in a bit |
|
this doesnt seem to really extend kubectl but more seems like a wrapper/shortcuts around existing kubectl functionality. most of these things seem accomplishable with labels and/or your plugin can still be distributed with krew through a custom index |
I don't know that I agree with that. While it's convention that people stick Kubectl is optimized for users of k8s, not administrators of large fleets that happen to run k8s. When you're debugging hosts, or trying to track down a odd performance issue, or trying to develop better DS's, this sort of functionality is really useful. This feels like it fits well within 'extending kubectl" to me. |
while this is technically true, i dont know how common this is in practice. if this were the only label on both the deployment and daemonset's pod template you wouldnt be able to define a service targeting just one or the other (not that you would always need that, but just a potential issue i could think of). kubernetes docs also suggest using multiple distinguishing labels.
ya i guess thats true in the single label example, but if there are distinguishing labels i would just do a
this is just my opinion but if youre responsible for a cluster, i think theres an implicit expectation of at least some kubectl knowledge. this is a kubectl plugin that the administrator would be using so i feel like that expectation isnt completely off base. we typically deny things along the line of |
|
Yeah, I also have doubts about the operational model. The readme cites finding daemonset pods on node, which can be done using Similarly, other subcommands like In my opinion, the plugin is rather repetitive of what kubectl has and I'm not sure if it adds anything significant on top. I also recommend publishing this in a custom index. /kind gray-area |
|
Wait, I thought you said that plugins that only do the equivalent of I can go make a custom index - it's just another git repo. It just feels like this fits pretty well inline with many other plugins in the primary index. |
|
Also,
Actually there's many reasons to do this:
|
|
I believe kubectl pods-on does a little bit more than the command you listed as it is primarily meant for working beyond a single node queries. I think we can certainly revisit this plugin when it has more differentiating functionality and less overlap with what's already in kubectl. |
No description provided.